home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / COM / MacPPP Control 1.5b2.sit / MacPPP Control 1.5b2 / Read Me next >
Text File  |  1996-03-07  |  4KB  |  69 lines

  1. MacPPP Control 1.5b2
  2. March 7, 1996
  3. Copyright ゥハ1994-1996
  4. Mark Alldritt
  5.  
  6. (with thanks to Richard Buckle and Jonathan Rentzsch for their contributions)
  7.       
  8. MacPPP Control is an AppleScript Addition which allows your scripts limited control over MacPPP.  The addition allows you to open and close the PPP link, and to check the state (open/closed) of the link.
  9.  
  10. The package contains:
  11.  
  12. ・  the MacPPP Control addition, which should be copied to the Scripting Additions folder of your Extensions folder.
  13. ・  examples which show how to use the commands provided by the MacPPP Control addition.
  14.  
  15. NOTE: If you use the Server parameter when calling the openPPP command, the Config PPP Control Panel *must* be closed.  If Config PPP is open when openPPP tries to change the Server name, openPPP will fail because Config PPP locks to PPP preferences file.  You can get around this by using the Scriptable Finder to close Config PPP before calling openPPP in your script.
  16.  
  17. NOTE: If you want to do a soft close rather than a hard close which is the default, use the following statement in your script:
  18.  
  19. closePPP without hard close
  20.  
  21. Firther details can be found in the MacPPP Control dictionary.  Just drop the MacPPP Control file onto your script editor to display its dictionary.
  22.  
  23. To use this addition you need to have AppleScript v1.0 or later, and MacPPP or FreePPP .
  24.  
  25. Note that I have no association with the authors of MacPPP or FreePPP, apart from being a happy user of their software.  There are no restrictions on use or distribution of MacPPP Control.
  26.  
  27. I can be contacted via E-mail at alldritt@wimsey.com
  28.  
  29. VERSION 1.3 OF MacPPP Control NOW DEPENDS HEAVILY ON THE INTERNALS OF MacPPP 2.0.1.  FUTURE VERSIONS OF MacPPP MAY NOT BE COMPATIBLE WITH MacPPP Control.  MacPPP Control IS PROVIDED AS-IS.  USE FUTURE VERSIONS OF MacPPP WITH MacPPP Control AT YOUR OWN RISK.
  30.  
  31. Check out my other freeware and commercial offerings:
  32.  
  33. Script Tools (freeware)
  34. File Visibility (freeware)
  35. Script Debugger (commercial)
  36.  
  37. All of these items, including a demo version of Script Debugger, can be found in the Info-Mac archives (sumex-aim.stanford.edu) or the MacScripting archive (gaea.scriptweb.com//pub/applescript).
  38.  
  39. Edit History:
  40.  
  41. V1.5b2
  42. - Added new optional parameter to openPPP to prevent openPPP demanding that it be executed from a foreground application.
  43. - Switched to CodeWarrior to build MacPPP Control so that I can use Richard Buckle's PPP Interfaces libraries.My own PPP interface routines are no longer used.
  44. - I've included a script for checking mail with Claris Emailer which was kindly contributed by Jonathan Rentzsch.
  45.  
  46. V1.5b1
  47. - Corrected incompatibility with FreePPP.  This version should operate with all existing versions of FreePPP (1.0.4 at this point in time).
  48. - Added a new setPPPServer command which allows you to change the  default server setting without having to do an openPPP.
  49. - Included seperate versions of the Check The Mail example script for use with Eudora 1.4 and 1.5.
  50.  
  51. V1.4
  52. - Corrected a bug which prevented the use of getPPPServer while the Config PPP Control Panel was open.
  53.  
  54. V1.3
  55. - Modified openPPP to accept the name of the PPP Server to use.  Added two new commands to query the name of the current server, and find the names of all defined servers.
  56.  
  57. V1.2
  58. - Modified closePPP to ensure script is in the foreground before it proceeds to close the connection.  This is done to avoid the MacPPP hang which occurs if closePPP is called from a background application.  openPPP checks to ensure MacPPP is closed before it proceeds.  closePPP checks to ensure MacPPP is open before it proceeds.  Also added an additional example script entitled "Check The Mail".
  59.  
  60. V1.1
  61. - example scripts are stored as text files instead of script applications to allow backward compatibility with AS 1.0.  Also, my E-mail address is now correct.  I apologize for any problems these items may have caused you.
  62.  
  63. V1.0
  64. - initial release of hack to control MacPPP from AppleScript
  65.  
  66. Cheers
  67. -Mark
  68.  
  69.